<% title "Meetings" %>
<%= render :partial => 'breadcrumbs' %>
<table class="admin_listing">
  <tr>
    <th>Brief Desc</th>
    <th>Full Desc</th>
    <th>Booking Date</th>
    <th>Booking Time</th>
    <th>Duration</th>
    <th>Room</th>
    <th></th><th></th><th></th>
  </tr>
  <% for meeting in @meetings %>
    <tr>
      <td><%=h meeting.brief_desc %></td>
      <td><%=h meeting.full_desc %></td>
      <td><%=h meeting.booking_date.strftime("%d/%m/%y") %></td>
      <td><%=h meeting.booking_time.strftime("%I:%M %p") %></td>
      <td><%=h meeting.duration %> Hour(s)</td>
      <td><%=h meeting.meeting_room.name %></td>
      <td><%= link_to "Show", meeting %></td>
      <td><%= link_to "Edit", edit_meeting_path(meeting) %></td>
      <td><%= link_to "Destroy", meeting, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>
